package com.gxa.domain.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.sql.Date;

//    od.order_id AS '订单ID',
//    od.order_time AS '下单时间',
//    e.name AS '收银员',
//    od.total_amount AS '订单总额',
//    od.payment_status AS '支付状态',
//    p.product_name AS '商品名称',
//    op.quantity AS '数量',
//    op.unit_price AS '单价',
//    COALESCE(op.promotion_price, op.unit_price) AS '实际单价',
//    (op.quantity * COALESCE(op.promotion_price, op.unit_price)) AS '小计'
@Data
public class Ordervo {
    private String orderId;
    private Date orderTime;
    private String cashier;
    private BigDecimal totalAmount;
    private String paymentStatus;
    private String productName;
    private Integer quantity;
    private BigDecimal unitPrice;
    private BigDecimal actualPrice;
    private BigDecimal subtotal;

}
